package hb.software.exam.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import edu.zut.hb.software.base.domain.BaseEntity;
import hb.software.exam.category.ExamCategory;

@Entity
@Table(name = "T_exam")
public class Exam extends BaseEntity<Long>{
	/**
	 *
	 */
	private static final long serialVersionUID = 1053621063434914305L;

	@ManyToOne
	@JoinColumn(name = "Category_ID")
	ExamCategory examCategory;
	@Column
	String examname;
	@Column
	String examtime;
	@Column
	String examsubject;
	@Column
	String exampoint;

	public String getExamname() {
		return examname;
	}
	public void setExamname(String examname) {
		this.examname = examname;
	}
	public String getExamtime() {
		return examtime;
	}
	public void setExamtime(String examtime) {
		this.examtime = examtime;
	}
	public String getExamsubject() {
		return examsubject;
	}
	public void setExamsubject(String examsubject) {
		this.examsubject = examsubject;
	}

	public ExamCategory getExamCategory() {
		return examCategory;
	}

	public void setExamCategory(ExamCategory examCategory) {
		this.examCategory = examCategory;
	}

	public String getExampoint() {
		return exampoint;
	}

	public void setExampoint(String exampoint) {
		this.exampoint = exampoint;
	}
}
